package com.lsz.flight_system.repository;

import com.lsz.flight_system.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface AdminRepository
        extends JpaRepository<Admin,Long> , JpaSpecificationExecutor<Admin> {
    Admin findAdminByUsername(String username);
}
